home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Internet Info 1994 March
/
Internet Info CD-ROM (Walnut Creek) (March 1994).iso
/
networking
/
ip
/
ka9q
/
alpha.arc
/
PKVEC.ASM
< prev
next >
Wrap
Assembly Source File
|
1988-07-07
|
564b
|
47 lines
include lmacros.h
assume ds:dataseg
assume cs:codeseg
ifdef FARPROC
extrn pkint_:far
else
extrn pkint_:near
endif
extrn _Dorg_:byte
codeseg segment
; pkvec - Packet driver receive call handler
public pkvec_
pkvec_ proc far
; save regs, making them available to pkint()
push es
push ds
push ax
push bx
push cx
push dx
push bp
push si
push di
mov ax,seg _Dorg_
mov ds,ax
call pkint_
pop di
pop si
pop bp
pop dx
pop cx
pop bx
pop ax
pop ds
pop es
ret
pkvec_ endp
codeseg ends
end